<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>导游领队基本信息</title>
	<jsp:include page="common/_js.jsp"></jsp:include>
</head>
<body>
	导游ID<s:property value="guideId"/>
	姓名<s:property value="name"/>
	
	<table>
	  <tr>
	    <th>家庭成员</th>
	    <th>姓名</th>
	    <th>生日</th>
	    <th>工作单位</th>
	    <th>职业</th>
	    <th>联系电话</th>
	  </tr>
	  <s:iterator value="guidefms">
		  <tr>
		    <td><s:property value="relative"/></td>
		    <td><s:property value="name"/></td>
		    <td><s:date name="birthday" format="yyyy-MM-dd"/></td>
		    <td><s:property value="workUnit"/></td>
		    <td><s:property value="career"/></td>
		    <td><s:property value="phonenum"/></td>
		  </tr>
	  </s:iterator>
	</table>

	<s:url id="insertGuidefm" value="insertGuidefm.jsp" method="get">
		<s:param name="guideId" value="guideId"></s:param>
	</s:url>
		<s:a href="%{insertGuidefm}" method="get">
			添加家庭成员
		</s:a>
</body>
</html>